package com.example.lsrsbackend.service;

import com.example.lsrsbackend.model.Student;

import java.util.List;
import java.util.Map;

public interface StudentService {
    boolean login(Student student);
    void register(Student student);

    boolean changePassword(String username, String newPassword); //修改密码
    Student getStudentInfo(String username); //获取信息

    boolean partialupdate(String username, Map<String,Object> updates); //部分更新策略

    List<Student> getAllStudents(); //获取全部students信息

    boolean deleteStudent(String username); // 删除学生
}